package com.nais.mapper;

import com.nais.domain.OrderDiscount;
import com.nais.domain.OrderDiscountCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDiscountMapper {
    long countByExample(OrderDiscountCriteria example);

    int deleteByExample(OrderDiscountCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderDiscount record);

    int insertSelective(OrderDiscount record);

    List<OrderDiscount> selectByExample(OrderDiscountCriteria example);

    OrderDiscount selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderDiscount record, @Param("example") OrderDiscountCriteria example);

    int updateByExample(@Param("record") OrderDiscount record, @Param("example") OrderDiscountCriteria example);

    int updateByPrimaryKeySelective(OrderDiscount record);

    int updateByPrimaryKey(OrderDiscount record);
}